package com.atguigu.jxc.domain;

import lombok.Data;
import org.omg.CORBA.PRIVATE_MEMBER;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @Author: Leon
 * @DateTime: 2021/9/26 16:11
 */
@Data
public class ProductVO implements Serializable {

    //goods_tepy_id
    private Integer id;

    //goods_type_name
    private String text;

    //p_id
    private Integer pId;

    //goods_type_state,类别状态 1为根节点，0为叶子节点
    private Attributes attributes;

    //额外添加字段
    //未知 "iconCls": "goods-type",
    private String iconCls = "goods-type";

    //clouse or open
    private String state;


    //商品二级分类列表
    List<ProductVO> children = new ArrayList<>();
}
